package com.igeek.boot.entity;

import java.util.List;

/**
 * @Author fengqq
 * @Description 扩展类
 * @Date 2024/8/21  9:36
 */
public class UserCustom extends User{

    //扩展字段（数据库中不存在的字段）
    //private int a;
    //private String timeStr;

    //一对多关联
    private List<Orders> ordersList;

    public List<Orders> getOrdersList() {
        return ordersList;
    }

    public void setOrdersList(List<Orders> ordersList) {
        this.ordersList = ordersList;
    }

}
